﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="admin_index.aspx.cs" Inherits="Admin_admin_index" %>

<%--<html xmlns="http://www.w3.org/1999/xhtml">--%>
<head><title><%=SiteName %>后台管理</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="css/admin_style.css" />
<script type="text/javascript">
    function channel(obj, par) {
        var tMenu = document.getElementById("tMenu");
        for (var i = 0; i < tMenu.childNodes.length; i++) {
            if (tMenu.childNodes[i].className == "act")
                tMenu.childNodes[i].className = "";
        }
        obj.className = "act";
        left.location.href = "admin_MenuLeft.aspx?id=" + par;
        main.location.href = "admin_MenuRight.aspx?id=" + par;
    }

    function TopType() {
        var mainframe = document.getElementById("mainframe");
        if (Top.style.display == "") {
            Top.style.display = "none";
            Left.style.display = "none";
            Right.style.display = "none";
            TopPic.className = "btmbg1";
            mainframe.style.height = "480px";
        } else {
            Top.style.display = "";
            Left.style.display = "";
            Right.style.display = "";
            TopPic.className = "btmbg";
            mainframe.style.height = "100%";
        }
    }

    function MenuType() {
        if (menu.style.display == "") {
            menukey.innerHTML = ">> 显示菜单";
            menu.style.display = "none";
            line.style.display = "";
        } else {
            menukey.innerHTML = "<< 隐藏菜单";
            menu.style.display = "";
            line.style.display = "none";
        }
    }
</script>

</head>
<body scroll="no" style=" overflow:hidden" class="top">
  <table style="width:100%;height:100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td rowspan="5" width="5" id="Left"><div class="lef-top"><div class="lef-bot"></div></div></td>
    <td id="Top" colspan="2">
	<div style="position:absolute; top:0; width:100%; height:45px;">
	<div class="fl"><div id="logo"></div><div id="logo2"></div></div>
	<div class="fl" style="padding-top:19px;" id="dtTop">
	  <ul id="tMenu">
		<li onclick="channel(this,0)" onmouseover="if (this.className!='act') this.className='on';" onmouseout="if (this.className!='act') this.className='';" class="act">首 页</li>
		<li onclick="channel(this,1)" onmouseover="if (this.className!='act') this.className='on';" onmouseout="if (this.className!='act') this.className='';">网 站</li>
		<li onclick="channel(this,2)" onmouseover="if (this.className!='act') this.className='on';" onmouseout="if (this.className!='act') this.className='';">会 员</li>
		<li onclick="channel(this,3)" onmouseover="if (this.className!='act') this.className='on';" onmouseout="if (this.className!='act') this.className='';">模 板</li>
		<li onclick="channel(this,4)" onmouseover="if (this.className!='act') this.className='on';" onmouseout="if (this.className!='act') this.className='';">文 章</li>
		<li onclick="channel(this,5)" onmouseover="if (this.className!='act') this.className='on';" onmouseout="if (this.className!='act') this.className='';">商 城</li>
		<li onclick="channel(this,6)" onmouseover="if (this.className!='act') this.className='on';" onmouseout="if (this.className!='act') this.className='';">系 统</li>
	  </ul>
	</div>
	<div class="fr" style="padding:20px 10px 0 0"><font class="white"> <asp:Literal ID="LoginName" runat="server" /> </font> <a href="admin_adminpassword.aspx" class="white" target="main">[修改密码]</a> <a href="admin_logout.aspx" onclick="return confirm('确定要退出吗？')" class="white">[安全退出]</a></div>
	</div>	
    </td>
    <td rowspan="5" width="5" id="Right"><div class="rig-top"><div class="rig-bot"></div></div></td>
  </tr>
  <tr>
  <td rowspan=3 width=1 id=line style='display:none'></td>
  <td rowspan=3 width=180 id=menu><iframe name=left src='Admin_MenuLeft.aspx' width='100%' height='100%' scrolling="no" FRAMEBORDER=0></iframe></td>
  <td height='0px' style='display:none'><iframe name=top src='admin_top.html' width='100%' height='100%' scrolling="yes" FRAMEBORDER=0></iframe></td>
  </tr>
  <tr><td style="height:9px; margin-top:0px" align="center" id='TopPic' class='btmbg' onclick='TopType()'> </td></tr>
  <tr><td style="padding-top:7px;" valign="top">
    <!--div style='position:absolute;width:100%;text-align:right;padding:0 16px 0 0'><img src='images/blue/R_T.gif'></div><div style='position:absolute'><img src='images/blue/L_T.gif'></div><div style='position:absolute;bottom:0px;width:100%;text-align:right;padding:0 16px 24px 0'><img src='images/blue/R_B.gif'></div><div style='position:absolute;bottom:0px;padding:0 0 24px 0'><img src='images/blue/L_B.gif'></div-->
    <iframe id="mainframe" name="main" src='Admin_MenuRight.aspx?id=0&MenuID=0&MenuName=网站&FileName=常规设置' style="padding-left:5px;width:98%;height:100%;vertical-align:top" scrolling="yes" frameborder="0"></iframe>
  </td>
  </tr>
  <tr>
    <td id="Bot" colspan="2"><table cellspacing="0" cellpadding="0"><tr>
    <td>&nbsp;&nbsp;<a id="menukey" class="white" href="javascript:{MenuType();}">&lt;&lt; 隐藏菜单</a> <a href="admin_config.aspx?CreatIndex=1" target="main" class="white">发布首页</a> <a href="../index.aspx" class="white" target="_black">网站首页</a> <a href="javascript:void(0)" onclick="if(confirm('确定要清除系统缓存吗？'))showModalDialog('RemoveCache.aspx',window,'dialogHeight:100px;dialogWidth:200px;resizable:0;status:0;help:0;scroll:0;center:yes;');return false;" class="white">清理缓存</a></td>
    <!--td algn=right ><img src="Images/blue.gif" alt="蓝色" onclick="setActiveStyleSheet('',1); return false;"><img src="Images/yellow.gif" alt="黄色" onclick="setActiveStyleSheet('aaa',1); return false;"><img src="Images/green.gif" alt="绿色" onclick="setActiveStyleSheet('bbb',1); return false;"></td-->
    </tr></table></td>
  </tr>
  </table>
  
  <script type="text/javascript">
      if (document.all) {

          //IE代码
      } else {
          document.getElementById("dtTop").style.paddingTop = "10px";
      }
  </script>
</body>
<%--</html>--%>